package com.yjd.msg.comm.core.model;

import com.yjd.comm.rpm.RpmServiceKeyEnum;
import com.yjd.msg.comm.enums.MsgTypeEnum;

/**
 * Created by yjd-wap on 2018/1/19.
 */
public class MnsMessage {
    /**
     * 消息id唯一的
     */
    private Long msg_id;

    /**
     * 消息生产者订单唯一id
     */
    private Long msg_order_id;

    /**
     * 消息类型
     */
    private MsgTypeEnum msgTypeEnum;

    /**
     * 消息内容
     */
    private String content;

    /**
     * 消息处理结果0成功 -1失败
     */
    private Integer status;

    /**
     * 订单服务
     */
    private String order_servcie_name;

    /**
     * 客户端名称
     */
    private String customer_name;

    /**
     * 阿里云消息id
     */
    private String mns_id;

    /**
     * 唯一业务id
     */
    private String bus_id;

    public MnsMessage(){}

    public MnsMessage(Long msg_id,Long msg_order_id,MsgTypeEnum msgTypeEnum,String content,Integer status,String order_servcie_name,String bus_id){
        this.msg_id = msg_id;
        this.msg_order_id = msg_order_id;
        this.msgTypeEnum = msgTypeEnum;
        this.content = content;
        this.status = status;
        this.order_servcie_name = order_servcie_name;
        this.bus_id = bus_id;
    }

    public Long getMsg_id() {
        return msg_id;
    }

    public void setMsg_id(Long msg_id) {
        this.msg_id = msg_id;
    }

    public MsgTypeEnum getMsgTypeEnum() {
        return msgTypeEnum;
    }

    public void setMsgTypeEnum(MsgTypeEnum msgTypeEnum) {
        this.msgTypeEnum = msgTypeEnum;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMns_id() {
        return mns_id;
    }

    public void setMns_id(String mns_id) {
        this.mns_id = mns_id;
    }

    public Long getMsg_order_id() {
        return msg_order_id;
    }

    public void setMsg_order_id(Long msg_order_id) {
        this.msg_order_id = msg_order_id;
    }

    public String getOrder_servcie_name() {
        return order_servcie_name;
    }

    public void setOrder_servcie_name(String order_servcie_name) {
        this.order_servcie_name = order_servcie_name;
    }

    public String getCustomer_name() {
        return customer_name;
    }

    public void setCustomer_name(String customer_name) {
        this.customer_name = customer_name;
    }

    public String getBus_id() {
        return bus_id;
    }

    public void setBus_id(String bus_id) {
        this.bus_id = bus_id;
    }
}
